package com.shxzz.easy12306.services.ticket.service;

import com.shxzz.easy12306.services.ticket.dto.domain.RouteDTO;
import com.shxzz.easy12306.services.ticket.dto.resp.TrainStationQueryRespDTO;

import java.util.List;

/**
 * 列车站点服务层
 * @author shxzz
 * @create 2024-03-05-23:35
 */
public interface TrainStationService {
    /**
     * 获取两站点间所有站点组合情况
     */
    List<RouteDTO> listTrainStationRoute(String trainId, String startStation, String endStation);

    /**
     * 获取两站点购票对应可能需扣减缓存的路线
     */
    List<RouteDTO> listTakeoutTrainStationRoute(String trainId, String departure, String arrival);

    /**
     * 查询列车各站点经停信息
     */
    List<TrainStationQueryRespDTO> listTrainStationQuery(String trainId);
}
